#ifndef SPEECHSYNTHESIZER_H
#define SPEECHSYNTHESIZER_H

#include <coreai/speech/synthesizer.h>
#include <QObject>
#include <QDebug>

class SpeechSynthesizer : public QObject
{
    Q_OBJECT
public:
    explicit SpeechSynthesizer(QObject *parent = nullptr);
    ~SpeechSynthesizer();
    bool initialize();
    int SynthesisOutput(const char *text);

private:
    SpeechSynthesizerSession *synSession;
    static void synthesisCallback(SpeechSynthesisResult *result, void *userData);
signals:

};

#endif // SPEECHSYNTHESIZER_H
